* {
    margin: 0;
    padding: 0;
}

body {
    height: 1000px;
    background-color: #20202a;
}

/* 引入字体图标 */
@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?2hvbjs');
    src:  url('fonts/icomoon.eot?2hvbjs#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?2hvbjs') format('truetype'),
    url('fonts/icomoon.woff?2hvbjs') format('woff'),
    url('fonts/icomoon.svg?2hvbjs#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* 总体内容 */
.content {
    position: relative;
    margin: 0 auto;
    height: 100%;
    width: 1000px;
    border-radius: 30px;
}

/* 侧边栏部分 */
.left_bar {
    position: absolute;
    left: 0;
    height: 100%;
    width: 25%;
    background-color: #1f1f27;
}

/* logo + 标题 */
.logo {
    height: 110px;
    width: 100%;
    border-radius: 50px;
}

.l_img {
    position: relative;
    background: url('/chapter12/Image/littleBoy_all.png') no-repeat;
    background-size: cover;
    height: 100px;
    width: 100px;
    border-radius: 50px;
}

.l_img h1 {
    position: absolute;
    top: 20%;
    left: 90px;
    font: 45px sans-serif;
    font-weight: bolder;
    color: #fff;
}

.l_img p {
    position: absolute;
    top: 80%;
    left: 100px;
    font: 10px sans-serif;
    font-weight: 500;
    width: 150px;
    color: rgba(255, 255, 255, 0.6);
}

.line {
    margin: 2% auto;
    width: 70%;
    border-radius: 50px;
    border-bottom: 1px #55556d solid;
}

.select {
    width: 100%;
    height: 50%;
}

.select li {
    width: 100%;
    height: 15%;
    border-radius: 30px;
    margin: 2% auto;
    line-height: 75px;
    cursor: pointer;
    transition: all 0.2s;
    list-style-type: none;
}

.select li:hover {
    background-color: #6556bf;
}

.select p {
    font-family: 'icomoon';
    display: inline-block;
    font-size: xx-large;
    color: #39383e;
    margin-left: 10%;
}

.select h4 {
    color: #2b2f3b;
    display: inline-block;
    font-size: xx-large;
    margin-left: 5%;
}

/*为主页选项卡添加选中效果*/
.selecting h4,
.selecting p {
    color: #bfd5e3;
}

/* 颜色：浅紫#6d5ed4 紫色#6556bf 黑色背景#20202a 深灰#242834 浅灰#2b2f3b 分割线浅灰#55556d 粉色#d6dbd9 橙色#d26f5c 浅蓝色#bfd5e3 浅肉色#d5c19c 字体#39383e 亮绿#2ecc71*/
/* 顶部部分 */
.top {
    position: absolute;
    right: 0;
    top: 0;
    height: 110px;
    width: 74%;
    border-radius: 30px;
    background-size: cover;
    background: url('/chapter12/Image/bg.jpg') no-repeat;
}

.top a {
    display: inline-block;
    position: absolute;
    text-decoration: none;
    color: #fff;
    background-color: #20202a;
    border-radius: 30px;
    width: 20%;
    height: 30%;
    text-align: center;
    line-height: 33px;
    top: 30%;
    left: 10%;
}

.top p {
    position: absolute;
    top: 60%;
    left: 5%;
    color: #39383e;
    font-size: x-small;
    font-weight: 700;
}

/* 主模块 */
.main {
    position: absolute;
    right: 0;
    top: 110px;
    margin-top: 2%;
    width: 74%;
    border-radius: 30px;
    background-color: #242834;
}

.main h1 {
    color: #fff;
    display: block;
    margin-top: 10px;
    text-align: center;
    height: 50px;
}

.node_list {
    display: block;
    width: 90%;
    margin: 10px auto 30px auto;
    border-radius: 30px;
    background-color: #20202a;
}

/* tap栏 */
.tap {
    height: 50px;
    width: 100%;
    display: block;
    border-bottom: #55556d 1px solid;
}

.tap div:nth-child(1) {
    width: 35%;
}

.tap div {
    color: #fff;
    display: inline-block;
    width: 20%;
    overflow: hidden;
    line-height: 50px;
    height: 100%;
    text-align: center;
}

.tap div:nth-child(2) {
    border-left: 1px solid #55556d;
    border-right: 1px solid #55556d;
}

.tap div:nth-child(3) {
    border-right: 1px solid #55556d;
}

/* 内容 */
.node_list li {
    display: block;
    border-bottom: #55556d 1px solid;
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.node_list li:last-child {
    border-bottom: none;
}

.node_list li div {
    color: #fff;
    display: inline-block;
    width: 20%;
    overflow: hidden;
    line-height: 80px;
    height: 100%;
    text-align: center;
}

.nodename {
    width: 35% !important;;
    font-size: medium;
}

.class {
    border-left: 1px solid #55556d;
    border-right: 1px solid #55556d;
    font-size: medium;
}

.language {
    border-right: 1px solid #55556d;
}

.alter,
.delete {
    width: 50px !important;;
    height: 50px !important;
    border-radius: 100%;
    margin: 0 0 2% 2%;
    cursor: pointer;
}

.alter {
    background-color: #2ecc71;
    font-family: 'icomoon';
}

.delete {
    background-color: #d26f5c;
    font-family: 'icomoon';
}

/* 没找到笔记的tips */
.tips {
    height: 500px;
    width: 100%;
    display: none;
}
.tips img {
    display: block;
    height: 200px;
    margin: 100px auto 0 auto;
    opacity: .6;
}
.tips h3 {
    display: block;
    text-align: center;
    color: #fff;
    margin: 0 auto;
    opacity: .6;
}
/*点击删除或修改按钮的弹窗*/
.delete_window,.alter_window {
    height: 300px;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 500px;
    background-color: rgba(0, 0, 0,0.6);
    color: #fff;
    border-radius: 30px;
    z-index: 99;
}
.delete_window p{
    display: block;
    margin: 15% auto 0 auto;
    text-align: center;
    font-size: xx-large;
    font-weight: 700;
}
.yes,.no {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    border: 1px solid #fff;
    line-height: 80px;
    height: 80px;
    width: 160px;
    margin: 40px;
    border-radius: 30px;
}
.yes {
    float: left;
}
.no {
    float: right;
}
.yes:hover,.no:hover {
    background-color: #2ecc71;
    border: #2ecc71;
}


.alter_window input,
.alter_window select {
    text-align: center;
    border-radius: 10px;
    color: #fff;
    background-color: rgba(0, 0, 0,0.6);
    border: 3px #6556bf solid;
    outline: none;
}

.alter_window input:hover,
.alter_window select:hover{
    border-color: #2ecc71;
}

.alter_window input[type="text"] {
    display: block;
    margin: 50px auto 0 auto;
    height: 40px;
    width: 300px;

}
.alter_window select {
    display: inline-block;
    margin: 30px;
    height: 40px;
    width: 150px;
}
.alter_window select[name="class"]{
    float: left;
    margin-left: 70px;
}
.alter_window select[name="language"]{
    float: right;
    margin-right: 70px;
}
.alter_window input[type="submit"] {
    display: block;
    margin: 100px auto 0 auto;
    height: 40px;
    width: 200px;
}
/*关闭窗口按钮*/
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #d19c72;
    background-color: #2b2f3b;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: xx-large;
    cursor: pointer;
}